Robbie Richards
R in my research to:
You should be able to…
You should be able to…
Topics
ggplot reviewPlotting challenge
Break
Inferential statistics
Wrap Up
Visualizations are useful for data exploration and presentation.
Characteristics of data exploration visualizations
should be avoided for presentation visualizations.
should guide the reader through the research.
We've spent a bit of time making figures for exploration, but haven't touched on presentation quality visualizations.
What are some characteristics of a good presentation visualization?
plots are divided into 3 fundamental parts
plot = data + Aesthetics + geometry
The cheat sheet reads like a choose your adventure book.
The cheat sheet reads like a choose your adventure book.
The cheat sheet reads like a choose your adventure book.
The cheat sheet reads like a choose your adventure book.
geom_function and additional aesthetic mapping as needed The cheat sheet reads like a choose your adventure book.
geom_function and additional aesthetic mapping as needed Often, you'll have an idea of the visualization you'd like to make.
But how to get there?
practice (and google)
For the visualization exercises you'll work with the people sitting in your row.
W4_Exercise\DataViz_X.html with the number corresponding to your row.If you finish early, add more details to the plots or try exporting as a .png.
What were some of the interesting things you learned?
When you come back we'll be switching gears to inferential statistics
is the branch of statistics that deals with hypothesis tests.
R is much better for inferential statistics than other software
why?
R is much better for inferential statistics than other software
Question
You are tasked with determining if butterfly infection prevalence is related to the region in which the butterflies were sampled and whether there are significant relationships with urbanization metrics. There are many approaches that you could take, but start with the basic inferential statistics to ask:
Test
t.test()lm()cor.test()Start by opening W4_Exercise\W4_Exercise.Rproj
Test
t.test()lm()cor.test()
Result
Test
t.test()lm()cor.test()
Result
Test
t.test()lm()cor.test()
Result